#coding:utf-8
"""
*   Coder    : Dzlua
*   Email    : 505544956@qq.com
*   Time     : 2017/09/29
"""
#--------------------#
from app.utilities import helper

#--------------------#
blueprint = helper.create_view_blueprint('user')
#--------------------#

#----------#
@blueprint.route('/')
def home():
    return helper.url_for('user.home')
#----------#
@blueprint.route('/login')
@helper.login_required
def login():
    return helper.url_for('user.login')
#----------#

#--------------------#
helper.register_blueprint(blueprint)
#--------------------#
